package cn.ycc1.user.mapper;

import cn.ycc1.user.entity.User;
import cn.ycc1.user.vo.UserDetailVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Title:
 * @Author ycc
 * @Date 2023/7/8 19:53
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User findByUsername(@Param("username") String username);

    User findByUserId(@Param("userId") Long userId);
}
